/**
 * 
 */
package com.optimus.model.mapped;

import java.io.Serializable;

/**
 * @author Optimus
 * 
 */
public class CategoryBean implements Serializable
{
	private static final long serialVersionUID = 1L;
	private int id;
	private String name;

	public static final int ELECTRONICS = 1;
	public static final int COMPUTERS = 2;
	public static final int CAMERAS = 3;
	public static final int SPORTS = 4;
	public static final int TOYS = 5;
	public static final int MUSIC = 6;

	/**
	 * Default Constructor
	 */
	public CategoryBean()
	{
		super();
	}

	/**
	 * @param id
	 *            - category id
	 * @param name
	 *            - category name
	 */
	public CategoryBean(int id, String name)
	{
		this.id = id;
		this.name = name;
	}

	/**
	 * @return the id
	 */
	public int getId()
	{
		return id;
	}

	/**
	 * @param id
	 *            the id to set
	 */
	public void setId(int id)
	{
		this.id = id;
	}

	/**
	 * @return the name
	 */
	public String getName()
	{
		return name;
	}

	/**
	 * @param name
	 *            the name to set
	 */
	public void setName(String name)
	{
		this.name = name;
	}
}
